package com.zqx.memento.originalAndMementoAndCaretaker;

import lombok.Getter;
import lombok.Setter;

/**
 *description: 备忘录类
 * note: 备忘录类的可见性为默认可见性，为包内可见，确保原发器可访问此类，其他类不可访问
 * @author zqx/09/04
 * @date 2018
 */
@Setter
@Getter
class ChessmanMemento {

    private String label;
    private int x;
    private int y;

    public ChessmanMemento(String label, int x, int y) {
        this.label = label;
        this.x = x;
        this.y = y;
    }
}
